﻿using System.Windows;
using System.Windows.Controls;

namespace MyAnimelistRecommender.Controls.TabControls
{
    /// <summary>
    /// Interaction logic for BlackList.xaml
    /// </summary>
    public partial class BlackList : UserControl
    {
        public BlackList()
        {
            InitializeComponent();
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            DataHelper.RecommendationDataHelper.RemoveRecFromBlacklist((sender as Button).Tag as string);
        }
    }
}